A Game-Theoretic Approach to Constraint Satisfaction

نویسندگان

  • Phokion G. Kolaitis
  • Moshe Y. Vardi
چکیده

We shed light on the connections between different approaches to constraint satisfaction by showing that the main consistency concepts used to derive tractability results for constraint satisfaction are intimately related to certain combinatorial pebble games, called the existential k-pebble games, that were originally introduced in the context of Datalog. The crucial insight relating pebble games to constraint satisfaction is that the key concept of strong k-consistency is equivalent to a condition on winning strategies for the Duplicator player in the existential k-pebble game. We use this insight to show that strong k-consistency can be established if and only if the Duplicator wins the existential k-pebble game. Moreover, whenever strong k-consistency can be established, one method for doing this is to first compute the largest winning strategy for the Duplicator in the existential k-pebble game and then modify the original problem by augmenting it with the constraints expressed by the largest winning strategy. This basic result makes it possible to establish deeper connections between pebble games, consistency properties, and tractability of constraint satisfaction. In particular, we use existential k-pebble games to introduce the concept of k-locality and show that it constitutes a new tractable case of constraint satisfaction that properly extends the well known case in which establishing strong k-consistency implies global consistency. Introduction and Summary of Results Constraint satisfaction has occupied a prominent place in AI research since the 1970s. The importance of constraint satisfaction stems from the fact that a large number of fundamental algorithmic problems from different areas of artificial intelligence can be modeled as constraint-satisfaction problems (CSP) in a natural way. The input to a constraintsatisfaction problem consists of a set of variables, a set of possible values, and a set of constraints on tuples of variables; the question is to determine whether there is an assignment of values to the variables that satisfies the given Work partially supported by NSF grants CCR-9610257 and CCR-9732041 yWork partially supported by NSF grant CCR-9700061 Copyright c 2000, American Association for Artificial Intelligence (www.aaai.org). All rights reserved. constraints. Since in general constraint satisfaction is NPcomplete, a considerable amount of effort has been dedicated to the discovery of tractable cases of constraint satisfaction, see (Mackworth & Freuder 1993; Dechter 1992; Jeavons, Cohen, & Gyssens 1997). The aim of this line of investigation is to design efficient algorithms for special cases of constraint satisfaction and to develop useful heuristics for the general case. One of the most fruitful approaches to coping with the intractability of constraint satisfaction has been the introduction and use of various consistency concepts that make explicit additional constraints implied by the original constraints. The connection between consistency properties and tractability was first described in (Freuder 1978; 1982). In a similar vein, (Dechter 1992; van Beek 1994; van Beek & Dechter 1997) investigated the relationship between local consistency and global consistency. Intuitively, local consistency means that any partial solution on a set of variables can be extended to a partial solution containing an additional variable, whereas global consistency means that any partial solution can be extended to a global solution. Note that if the inputs are such that local consistency implies global consistency, then there is a polynomial-time algorithm for constraint satisfaction; moreover, in this case a solution can be constructed via a backtrack-free search. In recent years, researchers have also embarked on an ambitious project aiming to classify the currently known tractable cases of constraint satisfaction and ultimately identify all tractable cases of this problem. Specifically, in (Feder & Vardi 1999) two conditions are isolated and are shown to be sufficient for tractability of constraint satisfaction and to also provide a unifying framework for a large number of tractability results in the literature. The first of these conditions is expressibility in Datalog, the main query language for deductive database and knowledge-base systems, while the second condition is group-theoretic. A related unifying framework for tractability of constraint satisfaction has been developed by Jeavons et al. in a sequence of papers, including (Jeavons, Cohen, & Gyssens 1995; 1996; 1997); the key theme of this framework is that tractability is intimately connected to certain algebraic closure properties of the constraints. Although the above two frameworks are of distinctly different character, they turn out to have several points in common. In fact, certain tractable cases in the first framework turn out to coincide with certain tractable cases in the second framework. Furthermore, one of these cases also coincides with the case in which local consistency implies global consistency; thus, these three different approaches to constraint satisfaction meet at this point. Our goal in this paper is to shed additional light on the connections between the different approaches to constraint satisfaction. As pointed out first by (Feder & Vardi 1999), constraint satisfaction can be identified with the homomorphism problem on relational structures: given two finite relational structures A and B over the same vocabulary, is there a homomorphism fromA toB?1 Informally, the structureA represents the variables and the constrained tuples of variables, the structure B represents the values and the constraints, and the homomorphisms from A toB are precisely the solutions to the instance of the constraint-satisfaction problem encoded by A and B. Using this viewpoint, we show that the main consistency concepts mentioned above are intimately related to certain combinatorial pebble games on relational structures that were originally introduced in the context of Datalog. It is well known that the expressive power of several major logical formalisms, including firstorder logic and second-order logic, can be analyzed using certain combinatortial two-person games, see (Ebbinghaus, Flum, & Thomas 1994). As regards Datalog, existential kpebble games were introduced in (Kolaitis & Vardi 1995) and used to analyze the expressive power of Datalog. These games are played between two players, the Spoiler and the Duplicator, on two relational structures A and B according to the following rules: on the i-th move of a round of the game, 1 i k, the Spoiler places a pebble on an element ai of A, and the Duplicator responds by placing a pebble on an element bi of B. The Spoiler wins the game at the end of that round, if the mapping ai 7! bi, 1 i k, is not a homomorphim between the corresponding substructures of A andB. Otherwise, the Spoiler removes one or more pebbles, and a new round of the game begins. The Duplicator wins the existential k-pebble game if he has a winning strategy, that is to say, a systematic way that allows him to sustain playing “forever”, so that the Spoiler can never win a round of the game. The crucial insight that relates pebble games to constraint satisfaction is that the key concept of strong k-consistency (Dechter 1992) is equivalent to a property of winning strategies for the Duplicator in the existential k-pebble game. Specifically, after giving the formal definition of a winning strategy, we point out that an instance of a constraintsatisfaction problem is strongly k-consistent if and only if the family of all partial homomorphims f with jf j < k is a winning strategy for the Duplicator in the existential k-pebble game on the two relational structures that represent the given instance. The connection between pebble games and consistency properties, however, is deeper than just a mere reformulation of the concept of strong kconsistency. Indeed, as mentioned earlier, consistency propA homomorphism is a mapping from the domain of A to the domain of B such that every tuple in a relation of A is mapped to a tuple in the corresponding relation of B. erties underly the process of making explicit new constraints that are implied be the original constraints. A key technical step in this approach is the procedure known as “establishing strong k-consistency”, which propagates the original constraints, adds implied constraints, and transforms a given instance of a constraint satisfaction problem to a strongly k-consistent instance with the same solution space (Cooper 1989; Dechter 1992). Here we show that strong k-consistency can be established if and only if the Duplicator wins the existential k-pebble game. Moreover, whenever strong k-consistency can be established, one method for doing this is to first compute the largest winning strategy for the Duplicator in the existential k-pebble game and then modify the original problem by augmenting it with the constraints expressed by the largest winning strategy; we also show that this method gives rise to the least constrained instance that establishes strong k-consistency and, in addition, satisfies a natural coherence property. By combining this result with earlier results in (Kolaitis & Vardi 1995; 1998) concerning the definability of the largest winning strategy, it follows that the algorithm for establishing strong k-consistency in this way (with k fixed) is actually expressible in least fixed-point logic; this strengthens the fact that strong k-consistency can be established in polynomial time, when k is fixed. After this, we show that there are further connections between pebble games, consistency properties, and tractability of constraint satisfaction. If B is a fixed finite relational structure, then CSP(B) is the following non-uniform constraint-satisfaction problem: given a finite relational structureA, is there a homomorphism h fromA toB? Note that if B is the complete graph K3 on three vertices, then CSP(B) is 3-COLORABILITY; thus, CSP(B) may very well be an NP-complete problem. It was shown in (Feder & Vardi 1999; Kolaitis & Vardi 1998) that existential k-pebble games can be used to characterize when CSP(B) is expressible in Datalog (from which it follows that CSP(B) is also solvable in polynomial time). Specifically, it was established that for every relational structure B, the complement of CSP(B) is expressible by a Datalog program with k variables if and only if CSP(B) coincides with the collection of all relational structures A such that the Duplicator wins the existential k-pebble game on A and B. Consequently, this is also equivalent to the following condition: CSP(B) coincides with the collection of all relational structures A such that establishing strong k-consistency on A and B implies that there is a homomorphism from A to B. Expressibility in Datalog is certainly a condition that gives rise to a large tractable case of non-uniform constraint satisfaction. It has the disadvantage, however, that it does not yield a method for finding a solution to an instance of CSP(B), if a solution exists. This should be contrasted with the special case of expressibility in Datalog in which CSP(B) has the property that establishing strong k-consistency implies global consistency. We call this property global k-consistency. In this case, given an intance of CSP(B), we can first detect the existence of a solution by establishing strong k-consistency and then we can easily construct a solution using a backtrack-free search. Although this special case does not suffer from the above disadvantage of Datalog, its applicability is limited, since it turns out to be equivalent to a very stringent closure property of the relations of B (Feder & Vardi 1999; Jeavons, Cohen, & Cooper 1998). This state of affairs motivates the pursuit of tractable cases that interpolate between global k-consistency and expressibility in Datalog. To this effect, using k-pebble games, we introduce the concept of k-locality and show that it constitutes a new tractable case of non-uniform constraint satisfaction that is broader than global k-consistency, is expressible in Datalog, but does not suffer from the aforementioned disadvantage of expressibility in Datalog. In particular, we show that if CSP(B) is k-local, then a solution (if one exists) to a given instance of CSP(B) can be constructed in polynomial time via a backtrack-free search during which strong k-consistency is established for certain expansions of the given instance. Moreover, we show that if CSP(B) is k-local, then computing the largest winning strategy for the Duplicator in the existential k-pebble game is the only way to obtain an instance that establishes strong k-consistency and satisfies the coherence property mentioned earlier. Consistency and Pebble Games The standard terminology in AI formalizes an instance P of CSP as a triple (V;D; C), consisting of a set V of variables, a set D of values, and a collection C of constraints C1; : : : ; Cq , where each Ci is a pair (t; R) with t a tuple over V (i.e., a tuple of not necessarily distinct variables in V ) and R is a relation on D of the same arity as jtj. Note that, without loss of generality, we may assume that all constraints (t; Ri) involving a tuple t have been consolidated to a single constraint (t; R). Thus, we can assume that each tuple t of variables occurs at most once in the collection C. It is clear that every such instanceP can be viewed as an instance of the homomorphism problem between two structures AP andBP , where the universe ofAP is V , the universe ofBP is D, the relations of BP are the distinct relations R occurring in C, and the relations of AP are defined as follows: for each relation R on D occurring in C, we have the relation RA = ft : (t; R) is a constraintg. We call (AP ;BP) the homomorphism instance of P . It is also clear that every instance of the homomorphism problem between two structuresA andB can be viewed as a CSP instance CSP(A;B) by simply “breaking up” each relation RA onA as follows: we generate a constraint (t; RB) for each t 2 RA. (and then consolidate constraints involving the same tuple of variables). We call CSP(A;B) the CSP instance of (A;B) We will use both formalisms in this paper, as each has its own advantages. The next definition contains the main concepts concerning existential k-pebble games. Definition 1: Let k be a positive integer and let A and B be two relational structures over the same vocabulary with universes A and B respectively. A k-partial homomorphism from A to B is a homomorphism from a substructure of A with at most k elements in its universe to a substructure of B. A winning strategy for the Duplicator in the existential k-pebble game on A and B is a nonempty family F of k-partial homomorphisms having the following two properties: 1. F is closed under subfunctions, which means that if g 2 F and f g, then f 2 F . 2. F has the k-forth property, which means that for every f 2 F with jf j < k and every a 2 A on which f is undefined, there is a g 2 F that extends f and is defined on a. A configuration for the existential k-pebble game on A and B is a 2k-tuple a; b, where a and b are elements of Ak and Bk respectively such that if ai = aj , then bi = bj (i.e., the correspondence ai 7! bi, 1 i k, is a partial function from A to B, which we denote by ha;b). A winning configuration for the Duplicator in the existential k-pebble game onA and B is a configuration a; b for this game such that ha;b is a member of some winning strategy for the Duplicator in this game. We denote by Wk(A;B) the set of all such configurations. The following facts turn out to be quite useful. Proposition 2: If F and F 0 are two winning strategies for the Duplicator in the existential k-pebble game on two structures A and B, then also the union F [ F 0 is a winning strategy for the Duplicator. Hence, there is a largest winning strategy for the Duplicator in the existential k-pebble game, namely the union of all winning strategies, which is preciselyHk(A;B) = fha;b : (a; b) 2 Wk(A;B)g: Proof: The first part is obvious. For the second part, note that Hk(A;B) is clearly a winning strategy for the Duplicator and contains every winning strategy as a subset, since every element h of a winning strategy gives rise to a winning configuration a; b such that ha;b = h, where a is a list of all elements in the domain of h and b is a list of their images under h (the list may contain elements with repetitions, if the domain of h has fewer than k elements). The following lemma is a crucial definability result. Lemma 3: (Kolaitis & Vardi 1998) There is a positive firstorder formula'(x; y; S), where x and y are k-tuples of variables, such that the complement of its least fixed-point on a pair A;B of structures defines the set Wk(A;B) of all winning configurations for the Duplicator in the existential k-pebble game onA;B. We now recall the concepts of i-consistency and strong k-consistency. Definition 4: Let P = (V;D; C) be a CSP instance. P is i-consistent if for every i 1 variables v1; : : : ; vi 1, for every partial solution on these variables, and for every variable vi 62 fv1; : : : ; vi 1g, there is a partial solution on the variables v1; : : : ; vi 1; vi extending the given partial solution on the variables v1; : : : ; vi 1. P is strongly k-consistent if it is i-consistent for every i k. A key insight is that strong k-consistency can be naturally recast in terms of existential k-pebble games. Proposition 5: Let P be a CSP instance, and let (AP ;BP) be the associated homomorphism instance. P is strongly k-consistent if and only if the family of all k-partial homomorphisms fromAP toBP is a winning strategy for the Duplicator in the existential k-pebble game onAP andBP . Let us now recall the concept of establishing strong k-consistency, as defined, for instance, in (Cooper 1989; Dechter 1992). This concept has been defined rather informally in the literature to mean that, given an instance P of CSP, we associate an instance P 0 that has the following properties: (1) P 0 has the same set of variables and the same set of values as P ; (2) P 0 is strongly k-consistent; (3) P 0 is more constrained than P ; and (4) P and P 0 have the same space of solutions. The next definition formalizes the above concept in the context of the homomorphism problem. Definition 6: LetA and B be two relational structures over a k-ary vocabulary (i.e., every relation symbol in has arity at most k). Establishing strong k-consistency for A and B means that we associate two relational structures A0 and B0 with the following properties: 1. A0 and B0 are structures over some k-ary vocabulary 0 (in general, different than ); moreover, the universe of A0 is the universe A of A, and the universe of B0 is the universe B ofB. 2. CSP(A0;B0) is strongly k-consistent. 3. if h is a k-partial homomorphism from A0 to B0, then h is a k-partial homomorphism from A to B. 4. If h is a function from A to B, then h is a homomorphism fromA toB if and only if h is a homomorphism fromA0 to B0. If the structures A0 and B0 have the above properties, then we say thatA0 and B0 establish strong k-consistency forA andB. An instance P of CSP is coherent if every constraint (t; R) of P completely determines all constraints (u;Q) in which all variables occurring in u are among the variables of t. We formalize this concept as follows. Definition 7: An instanceA;B of the homomorphism problem is coherent if its associated CSP instance CSP(A;B) has the following property: for every constraint (a;R) of CSP(A;B) and every tuple b 2 R, the mapping ha;b is well defined and is a partial homomorphism from A to B. Note that a CSP instance can be made coherent by polynomial-time constraint propagation. The main result of this section is that strong k-consistency can be established precisely when the Duplicator wins the existential k-pebble game. Moreover, one method for establishing strong k-consistency is to first compute the largest winning strategy for the Duplicator in this game and then generate an instance of the constraint-satisfaction problem consisting of all the constraints embodied in the largest winning strategy. Furthermore, this method gives rise to the largest coherent instance that establishes strong k-consistency (and, hence, the least constrained such instance). Theorem 8: Let k be a positive integer, let be a k-ary vocabulary, and let A and B be two relational structures over with domains A and B, respectively. It is possible to establish strong k-consistency for A and B if and only if Wk(A;B) 6= ;. Furthermore, ifWk(A;B) 6= ;, then the following sequence of steps gives rise to two structures A0 andB0 that establish strong k-consistency forA and B: 1. Compute the setWk(A;B). 2. Form the set Wk (A;B) of all 2i-tuples (aj1 ; : : : ; aji ; bj1 ; : : : ; bji) 2 Ai Bi, 1 i k, that can be extended to a 2k-tuple (a1; : : : ; ak; b1; : : : ; bk) 2 W k(A;B). 3. For every i k and for every i-tuple a 2 Ai, form the set Ra = fb 2 Bi : (a; b) 2 Wk (A;B)g. 4. Form the CSP instance P with A as the set of variables, B as the set of values, and f(a;Ra) : a 2 Ski=1Aig as the collection of constraints. 5. Let (A0, B0) be the homomorphism instance of P . In addition, the structures A0 and B0 obtained above constitute the largest coherent instance establishing strong kconsistency for A and B, i.e., if (A00;B00) is another such coherent instance, then for every constraint (a;R) of CSP(A00;B00), we have that R Ra. Proof: Suppose first that Wk(A;B) 6= ;. We now show that CSP(A0;B0) is strongly k-consistent. To see this, assume that g is a partial homomorphism from A0 to B0 with domain fa1; : : : ; aig, for some i < k, and is an element of A. Let bj = g(aj), 1 j i, let a = (a1; : : : ; ai) and b = (b1; : : : ; bi). Since g is a partial homomorphism from A0 to B0, it must be the case that b 2 Ra, which in turn means that a; b is a winning configuration for the Duplicator in the existential k-pebble game onA andB. It follows that there is an element d of B such that a; ; b; d is a winning configuration for the Duplicator in the existential k-pebble game onA and B. In turn, this means that b; d 2 Ra; . It is easy, however, to verify that (A0;B0) is coherent and so the mapping g[f( ; d)g is a partial homomorphism fromA0 to B0 extending g. Next assume that h is a function from A to B. We have to show that h is a homomorphism from A to B if and only if h is a homomorphism from A0 to B0. Let a = (a1; : : : ; ak) be a k-tuple of elements from A and let b = (h(a1); : : : ; h(ak)). Assume first that h is a homomorphism from A to B. In this case, we have that a; b is a winning configuration for the Duplicator in the existential k-pebble game on A and B, which in turn implies that b 2 Ra, thus establishing that h is a homomorphism from A0 to B0. In the other direction, if h is a homomorphism from A0 to B0, then b 2 Ra, which means that a; b is a winning configuration for the Duplicator in the existential k-pebble game on A and B. In turn, this implies that if a relation of A is satisfied by a sequence of elements from a, then the corresponding sequence of elements from b satisfies the corresponding relation on B, thus establishing that h is a homomorphism fromA to B. Conversely, suppose that A0 and B0 establish strong kconsistency for A and B. Let H be the family of all kpartial homomorphisms from A0 to B0. By the definition of establishing strong k-consistency, H is also a family of kpartial homomorphisms from A to B. Since, CSP(A0;B0) is strongly k-consistent, H has the k-forth property. But this means that the Duplicator has a winning strategy in the existential k-pebble game on A;B, which implies that Wk(A;B) 6= ;. As mentioned earlier, (A0;B0) is coherent. Assume that (A ;B ) is another coherent instance establishing strong k-consistency for A and B. Let (a;R) be a constraint of CSP(A ;B ), and let b 2 R. Then the mapping ha;b is a partial homomorphism from A to B , which in turn implies that it is also a partial homomorphism from A to B. It follows that (a; b) 2 Wk (A;B), and thus b 2 Ra. The key step in the procedure described in Theorem 8 is the first step, in which the setWk(A;B) is computed. The other steps simply “re-format”Wk(A;B). From Lemma 3, it follows that we can establish strong k-consistency by computing the least fixed-point of a positive first-order formula. This perspective should be contrasted with the efficientimplementation perspective in (Cooper 1989), the algebraic perspective described in (Güsgen & Ladkin 1995), and the chaotic-iteration perspective described in (Apt 1997). One advantage of formalizing the concept of strong kconsistency in Definition 6 is that we can now address the computational complexity of establishing strong kconsistency. That is, how hard is it to determine whether it is possible to establish strong k-consistency forA and B, given two structuresA, B and a positive integer k? In view of Theorem 8, this key question is equivalent to asking how hard it is to test whetherWk(A;B) 6= ;. We conjecture that the exponential upper bound from (Kolaitis & Vardi 1995) is tight. Conjecture: Checking whether Wk(A;B) 6= ; for given structures A;B and a positive integer k is EXPTIMEcomplete. Note that a confirmation of this conjecture will explain why all known algorithms for establishing strong kconsistency are exponential in k (see (Cooper 1989; Dechter 1992)). We can now relate the concept of strong k-consistency to the results in (Feder & Vardi 1999; Kolaitis & Vardi 1998) regarding Datalog and non-uniform CSP. Datalog is the language of database logic programming; it has received a tremendous amount of attention over the past two decades, see (Abiteboul, Hull, & Vianu 1995). A Datalog program is a finite set of rules of the form t0 t1; : : : ; tm, where each ti is an atomic formula R(x1; : : : ; xn). The relational predicates that occur in the heads of the rules are the intensional database predicates (IDBs), while all others are the extensional database predicates (EDBs). One of the IDBs is designated as the goal of the program. Note that IDBs may occur in the bodies of rules and, thus, a Datalog program is a recursive specification of the IDBs with semantics obtained via least fixed-points of monotone operators, see (Ullman 1989). Each Datalog program defines a query which, given a set of EDB predicates, returns the value of the goal predicate. If the goal predicate is 0-ary, then the program is a Boolean query, i.e., it either holds or does not. Note that a Datalog query is computable in polynomial time, since the bottom-up evaluation of the least fixed-point of the program terminates within a polynomial number of steps (in the size of the given EDBs), see (Ullman 1989). Thus, expressibility in Datalog is a sufficient condition for tractability of a query. Let B be a relational structure over a vocabulary . Let :CSP(B) be the class of all structures A over the vocabulary such that there is no homomorphism h from A to B. A unifying explanation for the tractability of many non-uniformCSP(B) problems is provided by showing that :CSP(B) is expressible in Datalog (Feder & Vardi 1999). That is, in many cases in which CSP(B) is tractable there is a Boolean Datalog program P such that for every structure A over , we have that P (A) holds iff A 62 CSP(B), A key parameter that shows up in this analysis is the number of variables used. For every positive integer n, let k-Datalog be the collection of all Datalog programs in which the body of every rule has at most k distinct variables and also the head of every rule has at most k variables (the variables of the body may be different from the variables of the head). Theorem 9: (Kolaitis & Vardi 1998) Let B be a relational structure over a vocabulary . :CSP(B) is expressible in k-Datalog iff the following condition holds: For every structureA over , if the Duplicator wins the existential k-pebble game on A and B, then there is a homomorphism fromA to B. We can now derive a relationship between k-Datalog and strong k-consistency. Theorem 10: Let B be a relational structure over a vocabulary . :CSP(B) is expressible in k-Datalog iff for every structure A over , establishing strong k-consistency for A;B implies that there is a homomorphism from A to B. Proof: Since the Duplicator wins the existential k-pebble game on A and B if and only ifWk(A;B) 6= ;, the result follows from Theorems 8 and 9. Consistency and Locality As mentioned in the introduction, expressibility in kDatalog is a sufficient condition for tractability of CSP(B), but it does not provide a method for finding a solution to an instance of CSP(B), if one exists. In contrast, if CSP(B) has the global k-consistency property, (i.e., establishing stong k-consistency implies global consistency), then a solution to an instance of CSP(B) can be constructed via a backtrack-free search. Since the latter condition is of limited applicability, it is natural to pursue conditions that are of wider applicability and still yield a method for finding a solution efficiently, if one exists. Definition 11: Let B be a structure over a relational vocabulary and let k be a positive integer. We say that CSP(B) is k-local if :CSP(B ) is in k-Datalog for every expansion B of B with constants, that is, for every expansion of B obtained by augmenting B with a finite sequence of distinguished elements from its universe. Note that such an expansion can be also viewed as a structure over a relational vocabulary in which unary relational symbols are used to encode the distinguished elements that form the expansion. The first result of this section yields a characterization of k-locality in terms of establishing strong k-consistency. Moreover, it asserts that k-locality has the property that there is a unique way to obtain a coherent instance establishing strong k-consistency. Proposition 12: Let B be a relational structure over a vocabulary . CSP(B) is k-local iff for every structureA over and every expansions A and B of A and B with constants, establishing strong k-consistency onA and B implies that there is a homomorphism from A to B . Moreover, if CSP(B) is k-local, then the only way to obtain a coherent instance establishing strong k-consistency for A andB is to compute the largest winning strategy for the Duplicator in the existential k-pebble game onA and B. Proof: The characterization of k-locality in terms of establishing strong k-consistency is an immediate consequence of Theorem 10. Assume that (A00;B00) is a coherent pair of structures establishing strong k-consistency for (A;B). Let (a;R) be a constraint of CSP(A00;B00). From Theorem 8, it follows that R Ra, where Ra is the set of all tuples b such that (a; b) 2 Wk (A;B). For the other direction, if b 2 Ra, then (a; b) 2 Wk (A;B) and so the Duplicator wins the existential k-pebble game onA andBwith pebbles placed on a and b. Since CSP(B) is k-local, :CSP(B; b) is expressible in Datalog. Consequently, by Theorem 9, it follows that there is a homomorphism h from A to B extending the partial homomorphism ai 7! bi, where ai and bi are the elements of A and B occuring in a and b. Since (A00;B00) establishes strong k-consistency for A and B, it follows that h is a homomorphism from A00 to B00. Thus, b 2 R, which establishes that R = Ra. The next result presents the relationship between klocality and the other tractable cases of non-uniform constraint satisfaction considered earlier. Moreover, it asserts that if CSP(B) is k-local, then there is a polynomial-time algorithm for finding a solution to a given instance of a CSP(B). Theorem 13: Let B be a relational structure over a vocabulary and let k be a positive integer. 1. If CSP(B) is k-local, then :CSP(B) is expressible in k-

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Game-Theoretic Approach for Pricing Decisions in Dual-Channel Supply Chain

In the current study, a dual-channel supply chain is considered containing one manufacturer and two retailers. It is assumed that the manufacturer and retailers have the same decision powers. A game-theoretic approach is developed to analyze pricing decisions under the centralized and decentralized scenarios. First, the Nash model is established to obtain the equilibrium decisions in the decent...

متن کامل

A Game Theoretic Approach for Sustainable Power Systems Planning in Transition

Intensified industrialization in developing countries has recently resulted in huge electric power demand growth; however, electricity generation in these countries is still heavily reliant on inefficient and traditional non-renewable technologies. In this paper, we develop an integrated game-theoretic model for effective power systems planning thorough balancing between supply and demand for e...

متن کامل

A Game Theoretic Approach for Greening, Pricing, And Advertising Policies in A Green Supply Chain

In this paper, greening, pricing, and advertising policies in a supply chain will be examined with government intervention. The supply chain has two members. First, a manufacturer seeking to determine the wholesale price and the greening level and second, a retailer that has to determine the advertising cost and the retail price. The government is trying to encourage the manufacturer to green t...

متن کامل

Welfare Impacts of Imposing a Tariff on Rice in Iran vs an Export Tax in Thailand: A Game Theoretic Approach

In this study, the social welfare impacts of the interaction of Iranian rice import policies and Thai export policies are analyzed using a game theoretic approach in conjunction with econometric supply and demand models. The joint impacts of increasing the world price of rice, resulting from the export policies in Thailand along with changes in tariff rates in Iran, on social welfare are analyz...

متن کامل

Coordinating a decentralized supply chain with a stochastic demand using quantity flexibility contract: a game-theoretic approach

  Supply chain includes two or more parties linked by flow of goods, information, and funds. In a decentralized system, supply chain members make decision regardless of their decision's effects on the performance of the other members and the entire supply chain. This is the key issue in supply chain management, that the mechanism should be developed in which different objectives should be align...

متن کامل

Combination of real options and game-theoretic approach in investment analysis

Investments in technology create a large amount of capital investments by major companies. Assessing such investment projects is identified as critical to the efficient assignment of resources. Viewing investment projects as real options, this paper expands a method for assessing technology investment decisions in the linkage existence of uncertainty and competition. It combines the game-theore...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2000